from rest_framework import serializers
from .models import Column


class ColumnSerializer(serializers.ModelSerializer):
    class Meta:
        model = Column
        fields = '__all__'

class ColumnDetailSerializer(serializers.ModelSerializer):
    class Meta:
        model = Column
        fields = '__all__'
        depth = 2

